//
//  AXMyWlVC.m
//  AnXin100
//
//  Created by 天质弘耕 on 2018/10/22.
//  Copyright © 2018年 tzhg. All rights reserved.
//

#import "AXMyWlVC.h"
#import "LogisticsTableViewCell.h"
@interface AXMyWlVC ()<UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) UITableView *mainTable;
@end

@implementation AXMyWlVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.mainTable];
}
    
- (UITableView *)mainTable {
    if (!_mainTable) {
        _mainTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT - Hn - Htb) style:UITableViewStylePlain];
        _mainTable.delegate = self;
        _mainTable.dataSource = self;
        _mainTable.separatorStyle = UITableViewCellSelectionStyleNone;
        [_mainTable registerClass:[LogisticsTableViewCell class] forCellReuseIdentifier:@"LogisticsTableViewCell"];
        
    }
    return _mainTable;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    return 90;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    LogisticsTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"LogisticsTableViewCell"];
//    cell.textLabel.text = _array[indexPath.row];
//    cell.textLabel.font = FONT_FOURTEEN;
//    cell.textLabel.textColor = [UIColor colorWithHex:0x333333];
    return cell;
}


@end
